<%@ page language="java" pageEncoding="utf-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%
	String path = request.getContextPath();
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>import.jsp</title>
 

</head>

<html:form action="/login.do?method=importExcelData"
	enctype="multipart/form-data">
	<table border="0" align="center" width="800">
		<tr>
			<td>
				第一步：下载模版&nbsp;&nbsp;
				 <a class="ml20" href="#zhangxinxu" id="click_test1" onclick="popickerWin('./images/home.jpg')">效果预览</a> 
				<a href="<%=path%>/login.do?method=downlaodTemplate">download template</a>
				<br>
				<br>
			</td>

		</tr>
		<tr>
			<td>
				第二步：导入数据&nbsp;&nbsp;
				<html:file property="file"></html:file>
				&nbsp;&nbsp;
				<html:submit /><br><br>
			</td>

		</tr>
		<tr>
			<td>
				<font color="red">注意：只能上传excel文件</font>
			</td>
		</tr>
	</table>
		<script type="text/javascript">
		function popickerWin(src)
		{
			 var content2 = "<img width='640' height='466' src='"+src+"' />";
        	 TINY.box.show(content2,0,0,0,1)
			//TINY.box.show(src,1,500,400,1);
		}
    </script>
</html:form>
</html:html>
